<extend name="Public/base" />
<!--test--->
<block name="body">
    <p class="" style="color:red;">本页订单，为受理与成功的订单，因此部分只受理的订单不计入总销售额</p>

    <div class="data-table table-striped">
        <table class="table table-hover">
            <thead>
            <tr>
                <th style="width: 50px;">订单编号</th>
                <th style="min-width: 30px">总价</th>
                <th style="min-width: 80px;">状态</th>
                <th width="120px;">导出</th>
                <th style="width: 120px;">收货人</th>
                <th style="min-width:70px;">联系电话</th>
                <th width="400">收货地址</th>
                <th width="200">下单时间</th>
                <th width="200">操作</th>
            </tr>
            </thead>
            <tbody>
            <notempty name="orderLists">
                <volist name="orderLists" id="vo">
                    <tr  valign="top">
                        <td>{$vo.orderid} </td>
                        <td><span style="color: red;font-weight: bold;">{$vo.amount}</span> </td>
                        <td>{$vo.status_text} </td>
                        <if condition="($vo.is_export eq 1)">
                            <td>已导出</td>
                            <else />
                            <td>未导出</td>
                        </if>
                        <td>{$vo.toName} </td>
                        <td>{$vo.toPhone} </td>
                        <td style="max-width: 150px;">{$vo.toProvince}&nbsp;{$vo.toCity}&nbsp;{$vo.toArea}&nbsp;{$vo.toStreet}
                            <br/><span style="color: red;">{$vo.remark}</span>
                        </td>
                        <td>{$vo.createDate|time_format} </td>
                        <td style="min-width: 280px;">
                            <a href="{:U('Order/Orderdetails')}&orderid={$vo['orderid']}" class="btn btn-default">明细</a></td>
                    </tr>
                </volist>
                <else/>
                <td colspan="12" class="text-center"> aOh! 暂时还没有内容! </td>
            </notempty>
        </table>
    </div>
    <div class="page">
        {$_page}
    </div>
    <div class="text-center">
        <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
    </div>

    <!------左边E------>
    <style>

        .table2 tr th{
            background-color: #F5F5F5;
            font-size: 9px;
            font-weight: normal;
            border: 1px solid #000;
            padding-left: 5px;
        }
        .table2 tr td{
            border: 1px solid #000;
            padding-left: 5px;
            font-weight: bold;
        }
    </style>
</block>
<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('SaleMan/daily')}');
    </script>
</block>
